package com.ygp.synchronizedtest;

/**
 * <Description> <br>
 *
 * @author linmiaolai@sanyygp.com<br>
 * @version 1.0<br>
 * @date 2021/10/20 <br>
 */
public class SynTest2 {
    Object obj = new Object();
    static int count = 0;

    public synchronized void method() {
        count++;
    }
}
